﻿@model SeguriGasesERP.Models.Cliente

@{
    ViewBag.Title = "Edit";
}

<h2>Edit</h2>

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>Cliente</legend>

        <div class="editor-label">
            @Html.LabelFor(model => model.NombreCliente)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.NombreCliente)
            @Html.ValidationMessageFor(model => model.NombreCliente)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Contacto)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Contacto)
            @Html.ValidationMessageFor(model => model.Contacto)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Telefono)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Telefono)
            @Html.ValidationMessageFor(model => model.Telefono)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Email)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Email)
            @Html.ValidationMessageFor(model => model.Email)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.RfcReceptor)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.RfcReceptor)
            @Html.ValidationMessageFor(model => model.RfcReceptor)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.NombreReceptor)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.NombreReceptor)
            @Html.ValidationMessageFor(model => model.NombreReceptor)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.CalleReceptor)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.CalleReceptor)
            @Html.ValidationMessageFor(model => model.CalleReceptor)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.NoExteriorReceptor)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.NoExteriorReceptor)
            @Html.ValidationMessageFor(model => model.NoExteriorReceptor)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.NoInteriorReceptor)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.NoInteriorReceptor)
            @Html.ValidationMessageFor(model => model.NoInteriorReceptor)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.ColoniaReceptor)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.ColoniaReceptor)
            @Html.ValidationMessageFor(model => model.ColoniaReceptor)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.LocalidadReceptor)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.LocalidadReceptor)
            @Html.ValidationMessageFor(model => model.LocalidadReceptor)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.ReferenciaReceptor)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.ReferenciaReceptor)
            @Html.ValidationMessageFor(model => model.ReferenciaReceptor)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.MunicipioReceptor)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.MunicipioReceptor)
            @Html.ValidationMessageFor(model => model.MunicipioReceptor)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.EstadoReceptor)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.EstadoReceptor)
            @Html.ValidationMessageFor(model => model.EstadoReceptor)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.CodigoPostalReceptor)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.CodigoPostalReceptor)
            @Html.ValidationMessageFor(model => model.CodigoPostalReceptor)
        </div>

        <p>
            <input type="submit" value="Save" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink("Regresar a la Lista", "Index")
</div>
